package org.example.src.service;

import org.example.src.dto.request.ApplicationRequest;
import org.example.src.dto.response.ApplicationResponse;
import org.example.src.entity.Application;
import org.example.src.entity.ApplicationStatus;

import java.util.List;

public interface ApplicationService {
    List<Application> findAllApplications();
    Application findApplicationById(Long id);
    Application createApplication(ApplicationRequest request);
    Application updateApplicationStatus(Long id, ApplicationStatus status, String feedback);
    void deleteApplication(Long id);
    List<Application> findApplicationsByStudentId(Long studentId);
    List<Application> findApplicationsByJobPostId(Long jobPostId);
    List<Application> findApplicationsByCompanyId(Long companyId);
    List<ApplicationResponse> getApplicationsByStudentId(Long studentId);
}
